import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from 'vuex-persistedstate'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userInfo:null,
    storeInfo:null,
    productMerchant_goods:null,
    store_up: false // 商店升级状态
  },
  mutations: {
    
  
  },
  actions: {

  },
  plugins: [createPersistedState({ storage: window.sessionStorage })]
})
